import request from "/@/utils/request"

/**
 * 获取所有app版本
 * @param data
 */
export function getAppVersionList(data?: any) {
    return request({
        url: '/wms/AppVersionManage/GetAppVersionList',
        method: 'post',
        data: data
    })
}

/**
 * 上传
 * @param data
 */
export function uploadFileApp(data?: any) {
    return request({
        url: '/wms/AppVersionManage/UploadFile',
        method: 'post',
        data: data
    })
}

/**
 * 获取下一个版本号
 * @param data
 */
export function getNextVersion(data?: any) {
    return request({
        url: '/wms/AppVersionManage/GetNextVersion',
        method: 'post',
        data: data
    })
}

/**
 * 获取下一个版本号
 * @param data
 */
export function submitAppVersion(data?: any) {
    return request({
        url: '/wms/AppVersionManage/SubmitAppVersion',
        method: 'post',
        data: data
    })
}